<template>
    <transition name="fade" mode="out-in" class="view" >
        <router-view></router-view>
    </transition>
</template>
<script>
    import store from '../store/index'
    export default {
        data() {
            return {
                loading_num:0
            }
        },
        mounted() {
            this.appShow()
            // var FastClick = require('fastclick');
            // FastClick.attach(document.body);
        },
        methods: {
            appShow() {
                const END_TIME = new Date().getTime() //结束时间
                const diffTime = END_TIME - PAGE_START_TIME 
                const timer = setTimeout(() => {
                    clearTimeout(timer)
                }, diffTime > 2000 ? 0 : 2000 - diffTime)
            }
        }
    }
</script>
<style lang="less">
    @import url('../../assets/less/_mixins.less');
</style>